% Vertical align for tabularx cells
\renewcommand{\tabularxcolumn}[1]{m{#1}}

% Font type inside float
\makeatletter
\appto{\@floatboxreset}{\songti\linespreadsingle{}}
\makeatother

% Fix bold text bug, see:
%   - GitHub zjuthesis: #24, #134, #158
%   - GitHub ctex-kit :  #546
\makeatletter
\appto{\@floatboxreset}{\special{pdf:code q}}
\preto{\@endfloatbox}{\special{pdf:code Q}}
\makeatother